package com.java.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.common.utils.PageUtils;
import com.java.pojo.Orders;
import com.java.pojo.bo.SubmitOrderBO;
import com.java.pojo.vo.MerchantOrdersVO;

import java.util.Map;

/**
 * 订单表;
 *
 * @author jl
 * @since 2020-10-13 11:31:41
 */
public interface OrdersService extends IService<Orders> {

    PageUtils queryPage(Map<String, Object> params);

    MerchantOrdersVO createOrder(SubmitOrderBO submitOrderBO);

    void updateOrderStatus(String orderId, Integer status);

    void autoCloseOrder();
}

